import request from '@/utils/request'

// 列表
export function hospitalList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalList.html',
    method: 'post',
    data: query
  })
}

//删除
export function deleteData(query){
    return request({
      url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/deleteHospital.html',
      method: 'post',
      data: query
    })
}
  
//修改上下架与状态
export function changeHospitalStatus(query){
    return request({
      url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/changeHospitalStatus.html',
      method: 'post',
      data: query
    })
}